 #ifdef _MSC_VER
 #define __func__ __FUNCTION__
 #endif
 extern BOOL g_trace;

 void 
  logit_w (const wchar_t *str, ...);

 void 
  logit_a (const char *str, ...);